//
//  HDAdressPickerView.h
//  AccountEasy
//
//  Created by 黄志刚 on 2020/8/14.
//  Copyright © 2020 AccountEasy. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HDAdressModel.h"

typedef void(^SelectedLocation)(HDAdressModel *selectedAdress);//选好地址之后的回调

@interface HDAdressPickerView : UIView
@property (nonatomic,copy) NSString *titleString;//地址选择框标题
@property (copy, nonatomic)SelectedLocation selectedLocation;
@property (assign, nonatomic) BOOL isNetWork; //从网络获取列表
/**
 初始化

 @param title 地址选择框标题
 @param selectedLocation 回调方法
 */
- (instancetype)initWithTitle:(NSString *)title slectedLocation:(SelectedLocation)selectedLocation;
/**
 显示PickerView
 */
- (void)show;
@end
